package com.leased.pojo;

import com.leased.request.BaseEntity;
import java.util.Date;

public class CUsers extends BaseEntity {
    private Integer cuserId;

    private String username;

    private String password;

    private Date registerTime;

    private String certName;

    private String phone;

    private String carNumber;

    private String carType;

    private String carLength;

    private String carWeight;

    private String runningRoute;

    private Integer isShare;

    private String operateName;

    private String wallet;

    private Integer type;

    private Integer carStatues;

    private String startAddress;

    private String destAddress;

    private String goodsNum;

    private Date carReportTime;

    private String runningRouteStart;

    private Date shareTime;

    private String belongArea;

    private String remark;

    private Integer guoxing;

    public Integer getCuserId() {
        return cuserId;
    }

    public void setCuserId(Integer cuserId) {
        this.cuserId = cuserId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName == null ? null : certName.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber == null ? null : carNumber.trim();
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType == null ? null : carType.trim();
    }

    public String getCarLength() {
        return carLength;
    }

    public void setCarLength(String carLength) {
        this.carLength = carLength == null ? null : carLength.trim();
    }

    public String getCarWeight() {
        return carWeight;
    }

    public void setCarWeight(String carWeight) {
        this.carWeight = carWeight == null ? null : carWeight.trim();
    }

    public String getRunningRoute() {
        return runningRoute;
    }

    public void setRunningRoute(String runningRoute) {
        this.runningRoute = runningRoute == null ? null : runningRoute.trim();
    }

    public Integer getIsShare() {
        return isShare;
    }

    public void setIsShare(Integer isShare) {
        this.isShare = isShare;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName == null ? null : operateName.trim();
    }

    public String getWallet() {
        return wallet;
    }

    public void setWallet(String wallet) {
        this.wallet = wallet == null ? null : wallet.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCarStatues() {
        return carStatues;
    }

    public void setCarStatues(Integer carStatues) {
        this.carStatues = carStatues;
    }

    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress == null ? null : startAddress.trim();
    }

    public String getDestAddress() {
        return destAddress;
    }

    public void setDestAddress(String destAddress) {
        this.destAddress = destAddress == null ? null : destAddress.trim();
    }

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum == null ? null : goodsNum.trim();
    }

    public Date getCarReportTime() {
        return carReportTime;
    }

    public void setCarReportTime(Date carReportTime) {
        this.carReportTime = carReportTime;
    }

    public String getRunningRouteStart() {
        return runningRouteStart;
    }

    public void setRunningRouteStart(String runningRouteStart) {
        this.runningRouteStart = runningRouteStart == null ? null : runningRouteStart.trim();
    }

    public Date getShareTime() {
        return shareTime;
    }

    public void setShareTime(Date shareTime) {
        this.shareTime = shareTime;
    }

    public String getBelongArea() {
        return belongArea;
    }

    public void setBelongArea(String belongArea) {
        this.belongArea = belongArea == null ? null : belongArea.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getGuoxing() {
        return guoxing;
    }

    public void setGuoxing(Integer guoxing) {
        this.guoxing = guoxing;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CUsers other = (CUsers) that;
        return (this.getCuserId() == null ? other.getCuserId() == null : this.getCuserId().equals(other.getCuserId()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getRegisterTime() == null ? other.getRegisterTime() == null : this.getRegisterTime().equals(other.getRegisterTime()))
            && (this.getCertName() == null ? other.getCertName() == null : this.getCertName().equals(other.getCertName()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getCarNumber() == null ? other.getCarNumber() == null : this.getCarNumber().equals(other.getCarNumber()))
            && (this.getCarType() == null ? other.getCarType() == null : this.getCarType().equals(other.getCarType()))
            && (this.getCarLength() == null ? other.getCarLength() == null : this.getCarLength().equals(other.getCarLength()))
            && (this.getCarWeight() == null ? other.getCarWeight() == null : this.getCarWeight().equals(other.getCarWeight()))
            && (this.getRunningRoute() == null ? other.getRunningRoute() == null : this.getRunningRoute().equals(other.getRunningRoute()))
            && (this.getIsShare() == null ? other.getIsShare() == null : this.getIsShare().equals(other.getIsShare()))
            && (this.getOperateName() == null ? other.getOperateName() == null : this.getOperateName().equals(other.getOperateName()))
            && (this.getWallet() == null ? other.getWallet() == null : this.getWallet().equals(other.getWallet()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getCarStatues() == null ? other.getCarStatues() == null : this.getCarStatues().equals(other.getCarStatues()))
            && (this.getStartAddress() == null ? other.getStartAddress() == null : this.getStartAddress().equals(other.getStartAddress()))
            && (this.getDestAddress() == null ? other.getDestAddress() == null : this.getDestAddress().equals(other.getDestAddress()))
            && (this.getGoodsNum() == null ? other.getGoodsNum() == null : this.getGoodsNum().equals(other.getGoodsNum()))
            && (this.getCarReportTime() == null ? other.getCarReportTime() == null : this.getCarReportTime().equals(other.getCarReportTime()))
            && (this.getRunningRouteStart() == null ? other.getRunningRouteStart() == null : this.getRunningRouteStart().equals(other.getRunningRouteStart()))
            && (this.getShareTime() == null ? other.getShareTime() == null : this.getShareTime().equals(other.getShareTime()))
            && (this.getBelongArea() == null ? other.getBelongArea() == null : this.getBelongArea().equals(other.getBelongArea()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getGuoxing() == null ? other.getGuoxing() == null : this.getGuoxing().equals(other.getGuoxing()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCuserId() == null) ? 0 : getCuserId().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getRegisterTime() == null) ? 0 : getRegisterTime().hashCode());
        result = prime * result + ((getCertName() == null) ? 0 : getCertName().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getCarNumber() == null) ? 0 : getCarNumber().hashCode());
        result = prime * result + ((getCarType() == null) ? 0 : getCarType().hashCode());
        result = prime * result + ((getCarLength() == null) ? 0 : getCarLength().hashCode());
        result = prime * result + ((getCarWeight() == null) ? 0 : getCarWeight().hashCode());
        result = prime * result + ((getRunningRoute() == null) ? 0 : getRunningRoute().hashCode());
        result = prime * result + ((getIsShare() == null) ? 0 : getIsShare().hashCode());
        result = prime * result + ((getOperateName() == null) ? 0 : getOperateName().hashCode());
        result = prime * result + ((getWallet() == null) ? 0 : getWallet().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getCarStatues() == null) ? 0 : getCarStatues().hashCode());
        result = prime * result + ((getStartAddress() == null) ? 0 : getStartAddress().hashCode());
        result = prime * result + ((getDestAddress() == null) ? 0 : getDestAddress().hashCode());
        result = prime * result + ((getGoodsNum() == null) ? 0 : getGoodsNum().hashCode());
        result = prime * result + ((getCarReportTime() == null) ? 0 : getCarReportTime().hashCode());
        result = prime * result + ((getRunningRouteStart() == null) ? 0 : getRunningRouteStart().hashCode());
        result = prime * result + ((getShareTime() == null) ? 0 : getShareTime().hashCode());
        result = prime * result + ((getBelongArea() == null) ? 0 : getBelongArea().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getGuoxing() == null) ? 0 : getGuoxing().hashCode());
        return result;
    }
}